<?php
    $id_del = $news->clearInt($_GET['del']);
    if ($news->deleteNews($id_del))
        header("Location: ".$_SERVER['PHP_SELF']);
?>